/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Tetravex;

import java.util.Calendar;
import java.util.GregorianCalendar;

/**
 *
 * @author 
 */
public class Main
{

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws InterruptedException
    {
       Window w = new Window();
       long currentTimeMillis = System.currentTimeMillis();
       w.setVisible(true);
       
       
       Calendar calendario = new GregorianCalendar();
		//Calendar calendario = Calendar.getInstance();
		
		int hora, minutos, segundos;
		
		hora =calendario.get(Calendar.HOUR_OF_DAY);
		minutos = calendario.get(Calendar.MINUTE);
		segundos = calendario.get(Calendar.SECOND);
		
		System.out.println(hora + ":" + minutos + ":" + segundos);
                
                Thread.sleep(10000);
                
                calendario = new GregorianCalendar();
                hora =calendario.get(Calendar.HOUR_OF_DAY);
		minutos = calendario.get(Calendar.MINUTE);
		segundos = calendario.get(Calendar.SECOND);
		
		System.out.println(hora + ":" + minutos + ":" + segundos);
                
                
       
    }
}
